import {IUserInfo} from "@/redux/user/states";

const userAction = {
    SET_USER_INFO(userInfo: IUserInfo) {
        return {
            type: 'SET_USER_INFO',
            userInfo,
        }
    },
    SET_TOKEN(data: string) {
        return {
            type: 'SET_TOKEN',
            data,
        }
    },

    CLEAR_STORE() {
        return {
            type: 'CLEAR_STORE',
        }
    },
};

export default userAction;
